package com.liu.redis.model;

import java.io.Serializable;

/**
 * @Author QS.Liu
 * @date 2020/5/17/19:00
 */
public class User implements Serializable{
    private Integer id;
    private String name;

    public User() {
    }

    public User(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
